package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.OrderDto;
import com.itheima.pojo.Order;
import com.itheima.res.OrderRes;

public interface OrderService extends IService<Order> {
    /**
     * 预约下单
     * */
    Long appoOrder(OrderDto orderDto);

    /**
     * 判断会员在当天是否已经有预约
     * */
    Order existOrder(Long memberId, String orderDate);

    OrderRes getOrderInfo(Long orderId);
}
